<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/inc/sessionCheck.jsp" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%@ taglib uri="/WEB-INF/config/tld/fmt.tld" prefix="fmt"%>
<%@ taglib uri="http://ssh.org/selects" prefix="ssh"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
	String applicationPath = basePath + "/" + "application";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><bean:message key='com.application.systemmanager.notice_list' /></title>
        <link href="<%=path%>/css/jinmu_style.css" rel="stylesheet" type="text/css" />
		<script language="javascript" src="<%=path%>/js/util.js"></script>
		<style>
html { overflow-x: hidden; overflow-y: auto; }

</style>
	</head>
	<body>
	    <html:form styleId="projectViewForm" action="listWorkItem.do?method=getWorkItemList" styleClass="simple">
	    <table cellspacing="0" cellpadding="0" width="95%" align="center"  border="0" class="margtb5">
    <tr>
      <td align="left" class="padl5 lan12"><img src="<%=path%>/images/img-11.gif" width="12" height="12">&nbsp;项目管理 &gt; 项目视图 &gt; 查看</td>
  </tr>
</table>
	   	<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
				<tbody>
				<c:set var="num" value="${4-counts%4}"></c:set>
				<logic:iterate id="titleName" name="title_list" indexId="indexId">
				    <c:if test="${indexId%4==0}">
				      <tr class="bgcolor">
				    </c:if>
		
				    <td width="20%" align="center" class="color"><a href="<bean:write name="titleName" property="key"/>"><bean:write name="titleName" property="value"/></a></td>
				    
					 <c:if test="${indexId%4==3}">
				         </tr>
				    </c:if>
                    
			        
			           <c:if test="${indexId==(counts-1)}">
			             <c:if test="${counts%4!=0}">
				             <c:forEach begin="1" end="${num}" var="item" >   
	                             <td width="20%" class="color">&nbsp;</td>
	                         </c:forEach>  
	                         </tr>
			             </c:if>
			        </c:if>
				</logic:iterate>
				
				
			  </tbody>
	  </table>
		<p><p><p>
		<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
     <tr>
             <td colspan="4" class=" zi13b padl5"> 项目基本信息</td>
      </tr>
          <tr class="bgcolor">
              <td width="18%" align="right" class="zi13">项目编号：</td>
			   <td width="32%"  align="left" class="pad2 zi13">
			      ${yfProject.projectNo}
			 </td>
		       <td width="18%" align="right" class="zi13">项目名称：</td>
			   <td width="32%"  align="left" class="pad2 zi13">
			        ${yfProject.projectName}
			    </td>
		    
		  </tr> 
     
          <tr class="bgcolor">
             <td width="18%" align="right" class="zi13">项目类型：</td>
			   <td width="32%"  align="left" class="pad2 zi13">
			      <ssh:select propertyName="projectType" pid="PROJECT_TYPE" type="3" defaultName="${yfProject.projectType}" />
			 </td>
		       <td width="18%" align="right" class="zi13">项目机构：</td>
			   <td width="32%"  align="left" class="pad2 zi13"> 
			       <ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${yfProject.projectOrg}"/>
			       </td>
		   
		  </tr> 
		  
		     <tr class="bgcolor">
		       <td width="18%" align="right" class="zi13">发起人：</td>
			   <td width="32%"  align="left" class="pad2 zi13"> 
			      ${yfProject.initiatePerson}</td>
		       <td width="18%" align="right" class="zi13">发起年份：</td>
			   <td width="32%"  align="left" class="pad2 zi13">
			      ${yfProject.initiateYear}
			 </td>
		  </tr> 
		  
		  		    <tr class="bgcolor">
		       <td width="18%" align="right" class="zi13">项目经理：</td>
			   <td   colspan="3" align="left" class="pad2 zi13"> 
			      ${yfProject.rname} 
		      
		  </tr> 
		
    </table> 


<logic:present name="xmdy">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="7" class=" zi13b padl5"><a name="xmdy"></a>项目调研</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="10%" class="zi13b">资料名称</td>
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="9%" class="zi13b">项目编号</td>
    <td align="center" width="10%" class="zi13b">项目机构</td>
    <td align="center" width="10%" class="zi13b">上传人</td>
    <td align="center" width="12%" class="zi13b">上传时间</td>
    <td align="center" width="5%" class="zi13b">操作</td>
  </tr>
 <logic:iterate id="xmdy_model" name="xmdy">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;" onclick="showView(1,'${xmdy_model.id}');" href="#" >${xmdy_model.documentName}</a> </td>
    <td align="center" class="zi13">${xmdy_model.projectName}</td>
    <td align="center" class="zi13">${xmdy_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${xmdy_model.projectOrg}"/></td>
    <td align="center" class="zi13">${xmdy_model.rname}</td>
    <td align="center" class="zi13"><bean:write name="xmdy_model" property="createDate" format="yyyy-MM-dd"/></td>
    <td align="center" class="zi13">
      	 <a style="cursor:hand"   onclick="downFile('${xmdy_model.id}','${xmdy_model.documentName}')" >下载</a>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="lxsq">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="lxsq"></a>立项申请</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="9%" class="zi13b">项目名称</td>
    <td align="center" width="19%" class="zi13b">项目编号</td>
    <td align="center" width="23%" class="zi13b">项目机构</td>
    <td align="center" width="5%" class="zi13b">所属年度</td>
    <td align="center" width="11%" class="zi13b">项目经理</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
  <logic:iterate id="lxsq_model" name="lxsq">
  <tr class="bgcolor">
    <td align="center" class="zi13"> <a style="color:blue;" href="#" onclick="showView(2,'${lxsq_model.id}')">${lxsq_model.projectName}</a></td>
    <td align="center" class="zi13">${lxsq_model.projectNo}</td>
    <td align="center" class="zi13">${lxsq_model.projectOrgName}</td>
    <td align="center" class="zi13">${lxsq_model.ownYear}</td>
     <td align="center" class="zi13">${lxsq_model.rname}</td>

       <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${lxsq_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${lxsq_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${lxsq_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="wxht">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="wxht"></a>外协合同</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="9%" class="zi13b">外协合同名称</td>
    <td align="center" width="10%" class="zi13b">外协合同编号</td>
    <td align="center" width="8%" class="zi13b">承担单位</td>
    <td align="center" width="9%" class="zi13b">项目名称</td>
    <td align="center" width="5%" class="zi13b">项目编号</td>
    <td align="center" width="5%" class="zi13b">项目机构</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
  <logic:iterate id="wxht_model" name="wxht">
  <tr class="bgcolor">
    <td align="center" class="zi13"> <a style="color:blue;"  href="#" onclick="showView(3,'${wxht_model.id}')">${wxht_model.contractName}</a> </td>
    <td align="center" class="zi13">${wxht_model.outsourceNo}</td>
    <td align="center" class="zi13">${wxht_model.assumeUnit}</td>
     <td align="center" class="zi13">${wxht_model.projectName}</td>
    <td align="center" class="zi13">${wxht_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${wxht_model.projectOrg}"/></td>
        <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${wxht_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${wxht_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${wxht_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>



<logic:present name="xmjh">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="xmjh"></a>项目计划</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">项目经理</td>
    <td align="center" width="8%" class="zi13b">计划类型</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
  <logic:iterate id="xmjh_model" name="xmjh">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;" href="#" onclick="showView(4,'${xmjh_model.id}')">${xmjh_model.projectName}</a> </td>
  <td align="center" class="zi13">${xmjh_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${xmjh_model.projectOrg}"/></td>
    <td align="center" class="zi13">${xmjh_model.rname}</td>
     <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="planType" pid="PLAN_TYPE" defaultName="${xmjh_model.planType}"  styles="width:100px;" type="3"    /></td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${xmjh_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${xmjh_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${xmjh_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="gysj">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="2" class=" zi13b padl5"><a name="gysj"></a>概要设计</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">项目经理</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
   <logic:iterate id="gysj_model" name="gysj">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(5,'${gysj_model.id}')">${gysj_model.projectName}</a> </td>
   <td align="center" class="zi13">${gysj_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${gysj_model.projectOrg}"/></td>
    <td align="center" class="zi13">${gysj_model.rname}</td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${gysj_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${gysj_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${gysj_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="yjxxsj">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="2" class=" zi13b padl5"><a name="yjxxsj"></a>硬件子系统详细设计</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">项目经理</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
   <logic:iterate id="yjxxsj_model" name="yjxxsj">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(5,'${yjxxsj_model.id}')">${yjxxsj_model.projectName}</a> </td>
   <td align="center" class="zi13">${yjxxsj_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${yjxxsj_model.projectOrg}"/></td>
    <td align="center" class="zi13">${yjxxsj_model.rname}</td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${yjxxsj_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${yjxxsj_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${yjxxsj_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="rjxxsj">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="2" class=" zi13b padl5"><a name="yjxxsj"></a>软件子系统详细设计</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">项目经理</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
   <logic:iterate id="rjxxsj_model" name="rjxxsj">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(5,'${rjxxsj_model.id}')">${rjxxsj_model.projectName}</a> </td>
   <td align="center" class="zi13">${yjxxsj_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${rjxxsj_model.projectOrg}"/></td>
    <td align="center" class="zi13">${rjxxsj_model.rname}</td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${rjxxsj_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${rjxxsj_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${rjxxsj_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="jksj">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="2" class=" zi13b padl5"><a name="jksj"></a>接口设计</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">项目经理</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
   <logic:iterate id="jksj_model" name="jksj">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(5,'${jksj_model.id}')">${jksj_model.projectName}</a> </td>
   <td align="center" class="zi13">${jksj_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${jksj_model.projectOrg}"/></td>
    <td align="center" class="zi13">${jksj_model.rname}</td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${jksj_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${jksj_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${jksj_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">.
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="kfssr1">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr1"></a>软件 --- 编码</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr1_model" name="kfssr1">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(6,'${kfssr1_model.id}')">${kfssr1_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr1_model.projectName}</td>
    <td align="center" class="zi13">${kfssr1_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr1_model.orgname}</td>
        <td align="center" class="zi13">${kfssr1_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr1_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="kfssr2">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr2"></a>软件 --- 单元测试</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr2_model" name="kfssr2">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(7,'${kfssr2_model.id}')">${kfssr2_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr2_model.projectName}</td>
    <td align="center" class="zi13">${kfssr2_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr2_model.orgname}</td>
        <td align="center" class="zi13">${kfssr2_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr2_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<logic:present name="kfssr3">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr3"></a>软件 --- 子系统测试</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr3_model" name="kfssr3">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(8,'${kfssr3_model.id}')">${kfssr3_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr3_model.projectName}</td>
    <td align="center" class="zi13">${kfssr3_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr3_model.orgname}</td>
        <td align="center" class="zi13">${kfssr3_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr3_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="kfssr4">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr4"></a>硬件 --- 原理图</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr4_model" name="kfssr4">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(9,'${kfssr4_model.id}')">${kfssr4_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr4_model.projectName}</td>
    <td align="center" class="zi13">${kfssr4_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr4_model.orgname}</td>
        <td align="center" class="zi13">${kfssr4_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr4_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="kfssr5">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr5"></a>硬件 --- PCB</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr5_model" name="kfssr5">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(10,'${kfssr5_model.id}')">${kfssr5_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr5_model.projectName}</td>
    <td align="center" class="zi13">${kfssr5_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr5_model.orgname}</td>
        <td align="center" class="zi13">${kfssr5_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr5_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>



<logic:present name="kfssr6">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr6"></a>软硬联调</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr6_model" name="kfssr6">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(11,'${kfssr6_model.id}')">${kfssr6_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr6_model.projectName}</td>
    <td align="center" class="zi13">${kfssr6_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr6_model.orgname}</td>
        <td align="center" class="zi13">${kfssr6_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr6_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="kfssr7">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr7"></a>硬件 --- 子系统调试</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr7_model" name="kfssr7">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(12,'${kfssr7_model.id}')">${kfssr7_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr7_model.projectName}</td>
    <td align="center" class="zi13">${kfssr7_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr7_model.orgname}</td>
        <td align="center" class="zi13">${kfssr7_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr7_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="kfssr8">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="5" class=" zi13b padl5"><a name="kfssr8"></a>研发测试</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="19%" class="zi13b">记录名称</td>
   <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="13%" class="zi13b">上传人</td>
     <td align="center" width="13%" class="zi13b">上传时间</td>
  </tr>
   <logic:iterate id="kfssr8_model" name="kfssr8">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;"  href="#" onclick="showView(13,'${kfssr8_model.id}')">${kfssr8_model.name}</a> </td>
    <td align="center" class="zi13">${kfssr8_model.projectName}</td>
    <td align="center" class="zi13">${kfssr8_model.projectNo}</td>
    <td align="center" class="zi13">${kfssr8_model.orgname}</td>
        <td align="center" class="zi13">${kfssr8_model.uname}</td>
    <td align="center" class="zi13"><bean:write name="kfssr8_model" property="createdate" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>




<logic:present name="zs">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="zs"></a>中试</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="8%" class="zi13b">中试名称</td>
      <td align="center" width="8%" class="zi13b">测试类型</td>
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
  <logic:iterate id="zs_model" name="zs">
  <tr class="bgcolor">
    <td align="center" class="zi13"><a style="color:blue;" href="#" onclick="showView(14,'${zs_model.id}')">${zs_model.pilotName}</a> </td>
  <td align="center" class="zi13"> <ssh:select id="testType" propertyName="testType" pid="TEST_TYPE" defaultName="${zs_model.testType}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">${zs_model.projectName}</td>
   <td align="center" class="zi13">${zs_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${zs_model.projectOrg}"/></td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${zs_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${zs_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${zs_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>




<logic:present name="yssp">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="yssp"></a>验收审批</td>
  </tr>
  <tr class="bgcolor3">
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="5%" class="zi13b">审核状态</td>
    <td align="center" width="5%" class="zi13b">流程查看</td>
  </tr>
  <logic:iterate id="yssp_model" name="yssp">
  <tr class="bgcolor">
 
    <td align="center" class="zi13"><a style="color:blue;" href="#" onclick="showView(15,'${yssp_model.id}')">${yssp_model.projectName}</a> </td>
   <td align="center" class="zi13">${yssp_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${yssp_model.projectOrg}"/></td>
      <td align="center" class="zi13"> <ssh:select id="auditStatus" propertyName="auditStatus" pid="AUDIT_STATUS_2" defaultName="${yssp_model.auditStatus}"  styles="width:100px;" type="3"    /></td>
    <td align="center" class="zi13">
       <c:choose>
										<c:when test="${yssp_model.auditStatus!=1}">
											<a href="#" onclick="viewFlow('${yssp_model.processId}');">
												<img src="${pageContext.request.contextPath}/images/015.gif" border="0" alt="查看">
											</a>				
										</c:when>
										<c:otherwise>
												<img src="${pageContext.request.contextPath}/images/013.gif" border="0" alt="不可查看">
										</c:otherwise>
									</c:choose>
    </td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="yl">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="yl"></a>物料</td>
  </tr>
  <tr class="bgcolor3">
     <td align="center" width="8%" class="zi13b">物料名称</td>
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">单价</td>
    <td align="center" width="8%" class="zi13b">数量</td>
    <td align="center" width="8%" class="zi13b">采购时间</td>

  </tr>
  <logic:iterate id="yl_model" name="yl">
  <tr class="bgcolor">
 
    <td align="center" class="zi13"> <a style="color:blue;" href="#" onclick="showView(16,'${yl_model.id}')">${yl_model.madename}</a>  </td>
   <td align="center" class="zi13">${yl_model.projectName}</td>
   <td align="center" class="zi13">${yl_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${yl_model.projectOrg}"/></td>
     <td align="center" class="zi13">${yl_model.price}</td>
      <td align="center" class="zi13">${yl_model.count}</td>
       <td align="center" class="zi13"><bean:write name="yl_model" property="purchase" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>


<logic:present name="sb">
<table cellspacing="1" cellpadding="0" width="95%" align="center"  border="0" class="bgcolor2 margb5">
  <tr>
    <td colspan="4" class=" zi13b padl5"><a name="sb"></a>设备</td>
  </tr>
  <tr class="bgcolor3">
     <td align="center" width="8%" class="zi13b">物料名称</td>
    <td align="center" width="15%" class="zi13b">项目名称</td>
    <td align="center" width="10%" class="zi13b">项目编号</td>
    <td align="center" width="8%" class="zi13b">项目机构</td>
    <td align="center" width="8%" class="zi13b">单价</td>
    <td align="center" width="8%" class="zi13b">数量</td>
    <td align="center" width="8%" class="zi13b">采购时间</td>

  </tr>
  <logic:iterate id="sb_model" name="sb">
  <tr class="bgcolor">
 
    <td align="center" class="zi13"> <a style="color:blue;" href="#" onclick="showView(16,'${sb_model.id}')">${sb_model.madename}</a>  </td>
   <td align="center" class="zi13">${sb_model.projectName}</td>
   <td align="center" class="zi13">${sb_model.projectNo}</td>
    <td align="center" class="zi13"><ssh:select id="projectOrg" propertyName="projectOrg" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="3" defaultName="${sb_model.projectOrg}"/></td>
     <td align="center" class="zi13">${sb_model.price}</td>
      <td align="center" class="zi13">${sb_model.count}</td>
       <td align="center" class="zi13"><bean:write name="sb_model" property="purchase" format="yyyy-MM-dd"/></td>
  </tr>
  </logic:iterate>
</table>
<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="margb5">
  <tr>
    <td align="right" class="lan12 padlr5"><a href="#top">返回顶部</a></td>
  </tr>
</table>
</logic:present>

<table width="95%" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><input type="button" name="Submit4" value="返回" class="buttonbg" style="cursor:hand;" onclick="javascript:history.go(-1)"></td>
  </tr>
</table>
			<input type="hidden" id="fid" name="fid"/>
			<input type="hidden" id="fileName" name="fileName"/>
     </html:form>
	</body>
</html>
<script>

function query(){
	document.forms[0].action="listWorkItem.do?method=getWorkItemList";
	document.forms[0].submit();
}
function returnCommit(){
	document.forms[0].action="getProjectViewList.do?method=getProjectViewList";
	document.forms[0].submit();
}



function downFile(fid,documentName){
    $("fid").value = fid;
    $("fileName").value = documentName;
    document.forms[0].action="downYfprojectsurveyFile.do?method=downAttachmentZip";
	document.forms[0].submit();
}


/**
   查看详细内容
   type 类型
   id   编号
**/
function showView(type,id){
    var url;
    switch(type){
        case 1: //项目调研
          url = "viewYfProjectSurvey.do?method=viewYfProjectSurvey&id=" + id;
          break;
        case 2: //立项申请
          url = "viewYfProjectApproval.do?method=viewYfProjectApproval&id="+ id;
           break;
        case 3://外协合同
          url = "viewYfOutsourceContract.do?method=viewYfOutsourceContract&id="+ id;
           break;
        case 4://项目计划
          url = "viewYfProjectPlan.do?method=viewYfProjectPlan&id="+ id;
           break;
        case 5://概要设计
          url = "viewYfProjectDesign.do?method=viewYfProjectDesign&id="+ id;
           break;
        case 6://软件 --- 编码
          url = "viewResearch1bm.do?method=viewResearch1bm&id="+ id;
           break;
        case 7: //软件 --- 单元测试
          url = "viewResearch2dycs.do?method=viewResearch2dycs&id="+ id;
           break;
        case 8://软件 --- 子系统测试
          url = "viewResearch3zxtce.do?method=viewResearch3zxtce&id="+ id;
           break;
        case 9: //硬件 --- 原理图
          url = "viewResearch4ylt.do?method=viewResearch4ylt&id="+ id;
           break;
        case 10: //硬件 --- PCB
          url = "viewResearch5PCB.do?method=viewResearch5PCB&id=" + id;
           break;
        case 11: //软硬联调
          url = "viewResearch6yjlt.do?method=viewResearch6yjlt&id=" + id;
          break;
         case 12: //硬件 --- 子系统调试
          url = "viewResearch7zxtts.do?method=viewResearch7zxtts&id=" + id;
          break;
        case 13://研发测试
          url = "viewResearch8yfcs.do?method=viewResearch8yfcs&id=" + id;
           break;
        case 14://中试
          url = "viewYfProjectPilot.do?method=viewYfProjectPilot&id=" + id;
           break;
        case 15://验收
          url = "viewYfProjectAccept.do?method=viewYfProjectAccept&id=" + id;
           break;
        case 16://物料
          url = "viewYfMaterielDepart.do?method=viewYfMaterielDepart&id=" + id;
           break;
        case 17://设备
          url = "viewYfMaterielDepart.do?method=viewYfMaterielDepart&id=" + id;
           break;  
          
    }
    window.location = url;
  
}

function viewFlow(processId){
	var url = "<%=path%>/workflow/trace.jsp?processId=" + processId;
	openWindow(url,1100,500);
}

</script>
